package com.exercise.widgets.menu.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.exercise.widgets.R
import com.exercise.widgets.menu.model.Person

class PersonAdapter() : BaseQuickAdapter<Person, BaseViewHolder>(
    layoutResId = R.layout.item_simple_list,
) {
    override fun convert(holder: BaseViewHolder, item: Person) {
        holder.setText(R.id.title, item.title)
        holder.itemView.isLongClickable = true
    }
}